#pragma once

#include <stdint.h>

typedef intptr_t WindowId;

const WindowId kNullWindowId = 0;

typedef intptr_t ScreenId;

const ScreenId kFullDesktopScreenId = -1;

const ScreenId kInvalidScreenId = -2;

namespace DesktopCapturerId {
	constexpr uint32_t CreateFourCC(char a, char b, char c, char d) {
		return ((static_cast<uint32_t>(a)) | (static_cast<uint32_t>(b) << 8) |
			(static_cast<uint32_t>(c) << 16) | (static_cast<uint32_t>(d) << 24));
	}

	constexpr uint32_t kUnknown = 0;
	constexpr uint32_t kScreenCapturerWinGdi = CreateFourCC('G', 'D', 'I', ' ');
}